package com.terry.sp.dao;

import com.terry.sp.core.Mapper;
import com.terry.sp.model.Device;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DeviceMapper extends Mapper<Device> {

    @Select("select * from device where object_number like '%#{objectNumber}%'")
    List<Device> showAllDevice(String objectNumber);
}